package cate.game.pvp.throne.msg;

import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;
import lombok.experimental.UtilityClass;

@UtilityClass
@NoteClass("王座争霸内部消息")
public class TBInnerMsg {
    @NoteField("模块名")
    public static final String MODULE_NAME = "throne";

    /**
     * 装配消息
     * @param msg 消息本体
     * @return 最终消息
     */
    private static String MSG(String msg) {
        return MODULE_NAME + "." + msg;
    }

    @NoteField("游戏服连接")
    public static final String GAME_CONNECT = MSG("game-connect");
    @NoteField("组服数据全量通知")
    public static final String NOTICE_ALL = MSG("notice-all");
    @NoteField("组服数据部分通知")
    public static final String NOTICE_PART = MSG("notice-part");
    @NoteField("组服淘汰赛基础数据通知")
    public static final String NOTICE_KO_BASE = MSG("notice-ko-base");
    @NoteField("组服淘汰赛竞猜数据的更新")
    public static final String NOTICE_BET = MSG("notice-bet");
    @NoteField("组服冠军boss基础数据通知")
    public static final String NOTICE_BOSS = MSG("notice-boss-base");

    @NoteField("选拔赛刷新对手")
    public static final String TRIAL_OPPONENT_REQ = MSG("trial-opponent-req");
    @NoteField("选拔赛积分阵容同步的请求")
    public static final String TRIAL_SYNC_RANK_REQ = MSG("trial-sync-rank-req");
    @NoteField("选拔赛数据的请求")
    public static final String TRIAL_DATA_REQ = MSG("trial-req");

    @NoteField("同步淘汰赛阵容")
    public static final String UPDATE_KO_POSITION = MSG("update-ko-position");
    @NoteField("查看玩家阵容")
    public static final String PLAY_SIDE_REQ = MSG("play-side-req");
    @NoteField("淘汰赛竞猜")
    public static final String KO_BET_REQ = MSG("ko-bet-req");

    @NoteField("冠军boss挑战检测")
    public static final String BOSS_CHECK = MSG("boss-check");
    @NoteField("冠军boss挑战结果汇报")
    public static final String BOSS_RESULT = MSG("boss-result");

    @NoteField("选拔赛对手库添加机器人")
    public static final String GM_ADD_RIVAL_ROBOT_REQ = MSG("gm-add-rival-robot-req");
    @NoteField("选拔赛排行榜添加机器人")
    public static final String GM_ADD_TRIAL_ROBOT_REQ = MSG("gm-add-trial-robot-req");
}
